Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test mac os #53

Merged
merged 8 commits into from
Dec 16, 2024
Merged

Test mac os #53

merged 8 commits into from
Dec 16, 2024

Conversation

meo-pill
Copy link
Contributor

the macOS test sequence fail a the first one so i think that a problème

Add test for MacOS in Github action

Maybe see this to add test for FreeBSD :
https://github.com/marketplace/actions/freebsd-vm
adding log to the test for better understanding
@meo-pill
Copy link
Contributor Author

for the shellcheck fail do i add a ignore or do i remove the yellow color ?

@markusressel
Copy link
Owner

Hey @meo-pill, thx for the PR!

You can remove the Yellow color for now, if we ever need it we can always add it back.

Looks like the macOS build doesn't work yet, any idea why?

meo-pill and others added 6 commits December 14, 2024 08:32
refactor: add regularity to spaces (markusressel#52)
remove the yellow color that is unused in the test
the `"${variable,,}"` seam to not work on macOS so y remove it for the `skip_hardlink_flag` because it's always lowercase
remove all the lower-case casting
The command `lsattr` is not supported on macOS so I have remove it
switch to `stat` instead of `ls` for better performance and no subshell
use of parameter expansion with  `%` in place of `awk` for performance and no subshell
@markusressel
Copy link
Owner

Looks good! Is this PR ready for merging?

@meo-pill
Copy link
Contributor Author

meo-pill commented Dec 16, 2024

Yes, for me it's ok to merge.

Maybe add a FreeBSD test to github action, but that can be done on another PR
(FreeBSD in not natively supported on github action so it needs to go through a vm see: https://github.com/marketplace/actions/freebsd-vm)

GitHub
Run CI in FreeBSD for GitHub Actions

@markusressel
Copy link
Owner

Great!
Yes FreeBSD would be nice, and the testing script isn't complete by any means either.
But this PR is a step in the right direction 👍

@markusressel markusressel merged commit bd8d447 into markusressel:master Dec 16, 2024
3 checks passed
@meo-pill meo-pill deleted the test-macOS branch December 17, 2024 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants